package main

import (
	"os"
	"os/signal"
	"syscall"

	"gitee.com/fanshuaiself/proxy-server/web/server"
)

func main() {
	server.Start(8080)

	ch := make(chan os.Signal, 1)
	signal.Notify(ch, syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM)

	<- ch
	server.Close()
}